package com.example.gaokao.controller.back;

import com.example.gaokao.mapper.CustomerMapper;
import lombok.EqualsAndHashCode;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 对顾客的各种操作
 * */
@Controller
@RequestMapping("/back/customer")
public class CustomerController {
    @Autowired
    private CustomerMapper customerMapper;
    @RequestMapping("/list")
    public String list(){//接收前端参数
         //调用业务层
        return  "/back/customer/list";//视图解析器返回视图
    }
}
